package Extends.DuoTai.test3;

public class Dog extends Animal {
    public Dog(String color, int age) {
        super(color, age);
    }

    public Dog() {
    }
    public void eat(String something){
        System.out.println(getAge()+"岁的"+getColor()+"颜色的狗两只前腿死死的抱着"+something+"猛吃");
    }
    public void lookHome(){
        System.out.println("狗在看家");
    }
}
